package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 机场筛选城市表
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_city")
@TableAlias("city")
@ApiModel(value="BusCity对象", description="机场筛选城市表")
public class BusCity extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "cityId", type = IdType.ASSIGN_ID)
    private Long cityId;

    private String cityName;

    private Integer sort;

    @ApiModelProperty(value = "(1已开通机场，2未开通机场)")
    private Integer isOpen;

    @ApiModelProperty(value = "创建日期")
    private String createDate;

}
